"""
练习：将两个列表合并为一个字典
list_student_name = ["悟空", "八戒", "白骨精"]
list_student_age = [28, 25, 36]

"""

list_name = ["悟空", "八戒", "白骨精"]
list_age = [28, 25, 36]

dict_new = {}
for key,value in zip(list_name, list_age):
    dict_new[key] = value
print(dict_new)

print('=' * 30)
dict_new2 = {key:value for key,value in zip(list_name, list_age)}
print(dict_new2)

print('=' * 30)
print(dict(zip(list_name, list_age)))